#include <iostream>
#include <algorithm>

int const maxn = 101;
char a[4][maxn];
int n;

int main()
{
	std::ios::sync_with_stdio(false);
	std::cin >> n;
	if (n & 1) {
		char ch1 = 'a', ch2 = 'b';
		for (int i = 1; i < n; i += 2) {
			a[0][i] = a[0][i - 1] = ch1;
			a[1][i] = a[1][i - 1] = ch2;
			std::swap(ch1, ch2);
		}
		a[0][n - 1] = a[1][n - 1] = 'z';
		a[2][0] = a[3][0] = 'y';
		ch1 = 'c'; ch2 = 'd';
		for (int i = 1; i < n; i += 2) {
			a[2][i] = a[2][i + 1] = ch1;
			a[3][i] = a[3][i + 1] = ch2;
			std::swap(ch1, ch2);
		}
	} else {
		char ch1 = 'a', ch2 = 'b';
		for (int i = 0; i < n; i += 2) {
			a[0][i] = a[0][i + 1] = ch1;
			a[3][i] = a[3][i + 1] = ch2;
			std::swap(ch1, ch2);
		}
		a[1][n - 1] = a[2][n - 1] = 'z';
		a[1][0] = a[2][0] = 'y';
		ch1 = 'c'; ch2 = 'd';
		for (int i = 2; i < n; i += 2) {
			a[1][i] = a[1][i - 1] = ch1;
			a[2][i] = a[2][i - 1] = ch2;
			std::swap(ch1, ch2);
		}
	}
	for (int i = 0; i < 4; i++) {
		for (int j = 0; j < n; j++) std::cout << a[i][j];
		std::cout << '\n';
	}
}

